<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Tetris Game</title>
    <script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
    <style>
        #game-board {
            display: grid;
            grid-template-columns: repeat(10, 20px);
            grid-template-rows: repeat(20, 20px);
            gap: 1px;
            background-color: #333;
        }

        .cell {
            width: 20px;
            height: 20px;
            background-color: #000;
        }

        .block {
            background-color: #0f0;
        }
    </style>
</head>

<body>
    <div id="app">
        <div id="game-board">
            <div v-for="(cell, index) in gameBoard" :key="index" :class="{ 'cell': true, 'block': cell }"></div>
        </div>
    </div>
    <script src="app.js"></script>
</body>

</html>    